import React  from 'react';

const WithRouter=(AA)=>{

  // 增强 
  const NewCom=()=><AA history={{push:function(){}}} />

  return NewCom;
}

export default WithRouter;